Skip to content

Commit

Permalink
Merge pull request #35 from nextcloud/update/php
Browse files Browse the repository at this point in the history
Update PHP dev dependencies to latest versions
  • Loading branch information
mejo- authored May 9, 2023
2 parents d75fa0b + 56788db commit d0acbab
Show file tree
Hide file tree
Showing 12 changed files with 650 additions and 614 deletions.
3 changes: 0 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
->notPath('l10n')
->notPath('src')
->notPath('vendor')
->exclude('composer')
->exclude('3rdparty')
->exclude('build')
->in(__DIR__);
return $config;
20 changes: 12 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
"php": "7.4"
}
"php": "7.3"
},
"sort-packages": true
},
"require": {
"php": ">=7.3"
},
"require-dev": {
"nextcloud/coding-standard": "^1.0.0",
"psalm/phar": "^5.4",
"phpunit/phpunit": "^9",
"nextcloud/ocp": "dev-stable22"
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
Expand All @@ -16,11 +26,5 @@
"psalm:clear": "psalm.phar --clear-cache && psalm.phar --clear-global-cache",
"psalm:fix": "psalm.phar --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
"test:unit": "phpunit -c tests/phpunit.xml"
},
"require-dev": {
"nextcloud/coding-standard": "^1.0",
"psalm/phar": "^4.10",
"phpunit/phpunit": "^8",
"nextcloud/ocp": "dev-stable22"
}
}
Loading

0 comments on commit d0acbab

Please sign in to comment.