Closed MarcinOrlowski closed 3 years ago
Leave those composer.json-s behind and use composer update "--with=laravel/framework:~6.6"
Temporary version constraint to add, e.g. foo/bar:1.0.0 or foo/bar=1.0.0 (multiple values allowed)
You need "laravel/framework": "^6.0 || ^7.0 || ^8.0"
for that to work.
You need
"laravel/framework": "^6.0 || ^7.0 || ^8.0"
for that to work.
Not that fast as that's not the only different dependency version I have there. I currently have no time to look for cleaner approaches so this will stay yet for a while. PR welcome though :)
Actually these lowest/highest testing could/should be done by Composer.
High: composer update
Low: composer update --prefer-lowest
These .config Composer configurations still contain classmap
autoloading!
These .config Composer configurations still contain
classmap
autoloading!
Good spot. Fixed. And thanks for taking your time to sniff around!
:exclamation: No coverage uploaded for pull request base (
master@024eccf
). Click here to learn what that means. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #204 +/- ##
=========================================
Coverage ? 97.08%
Complexity ? 174
=========================================
Files ? 22
Lines ? 515
Branches ? 0
=========================================
Hits ? 500
Misses ? 15
Partials ? 0
Flag | Coverage Δ | |
---|---|---|
unittests | 97.08% <0.00%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 024eccf...3752f67. Read the comment docs.
data_always_object
config option that, when enabled enforces responsedata
node to always be JSON object (forNULL
it will return empty object{}
).Converter
unit tests for primitives-as-payload.ResponseBuilderProvider
throwing incorrect Exception in case of invalid config file.Validator::assertIsObjectOrExistingClass()
method.Validator::assertIsInt()
throws nowNotIntegerException
as expected.Validator
class tests to check agains specific exceptions thrown, not base class.JsonSerializableConverter
psr-4
instead of plainclassmap
(thanks to Viktor Szépe).TestingHelpers::getResponseContent()
,TestingHelpers::langGet()
to satisfy static analyzers.success()
.