File tree Expand file tree Collapse file tree 3 files changed +10
-23
lines changed Expand file tree Collapse file tree 3 files changed +10
-23
lines changed Original file line number Diff line number Diff line change 5656
5757 - name : " Install dependencies with Composer"
5858 uses : " ramsey/composer-install@3.1.1"
59- with :
60- composer-options : " --no-suggest"
61-
62- - name : " Validate PSR class names"
63- run : " composer dump-autoload --optimize --strict-psr"
64-
65- - name : " Format the code"
66- continue-on-error : true
67- run : |
68- mkdir .cache
69- ./vendor/bin/phpcbf
7059
7160 # The -q option is required until phpcs v4 is released
7261 - name : " Run PHP_CodeSniffer"
73- run : " vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
74-
75- - name : " Commit the changes"
76- uses : stefanzweifel/git-auto-commit-action@v6
77- with :
78- commit_message : " apply phpcbf formatting"
62+ run : |
63+ mkdir .cache
64+ vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr
Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ methods in your application:
213213
214214.. note::
215215
216- MongoDB is a schemaless database, so the preceding schema builder methods
217- query the database data rather than the schema.
216+ MongoDB is a schema-flexible database, so the preceding schema
217+ builder methods query the database data rather than the schema.
218218
219219Example
220220```````
@@ -269,9 +269,10 @@ collection fields:
269269- ``Schema::hasColumns(string $<collection>, string[] $<field names>)``:
270270 checks if each specified field exists in at least one document
271271
272- MongoDB is a schemaless database, so the preceding methods query the collection
273- data rather than the database schema. If the specified collection doesn't exist
274- or is empty, these methods return a value of ``false``.
272+ MongoDB is a schema-flexible database, so the preceding methods query
273+ the collection data rather than the database schema. If the specified
274+ collection doesn't exist or is empty, these methods return a value of
275+ ``false``.
275276
276277.. note:: id Alias
277278
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ Migration Features
201201------------------
202202
203203The {+odm-short+} supports all Laravel migration features, but the
204- implementation is specific to MongoDB's schemaless model.
204+ implementation is specific to MongoDB's schema-flexible model.
205205
206206Seeding Features
207207----------------
You can’t perform that action at this time.
0 commit comments