Skip to content

Commit a8a67c6

Browse files
authored
Merge pull request #178 from FriendsOfCake/json-api-lib
Replace "neomerx/json-api" with "laravel-json-api/neomerx-json-api".
2 parents 781862a + 243dc4d commit a8a67c6

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,17 @@ jobs:
1818
db-type: [ mysql ]
1919
prefer-lowest: ['']
2020
include:
21-
- php-version: '7.2'
21+
- php-version: '7.4'
2222
db-type: 'mysql'
2323
prefer-lowest: 'prefer-lowest'
2424

2525
steps:
2626

27-
- name: Setup MySQL latest
28-
if: matrix.db-type == 'mysql' && matrix.php-version != '7.2'
29-
run: docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=cakephp -p 3306:3306 -d mysql --default-authentication-plugin=mysql_native_password --disable-log-bin
30-
31-
- name: Setup MySQL 5.6
32-
if: matrix.db-type == 'mysql' && matrix.php-version == '7.2'
33-
run: docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=cakephp -p 3306:3306 -d mysql:5.6 --character-set-server=utf8
27+
- name: Setup MySQL
28+
if: matrix.db-type == 'mysql'
29+
run: |
30+
sudo service mysql start
31+
mysql -h 127.0.0.1 -u root -proot -e 'CREATE DATABASE cakephp;'
3432
3533
- uses: actions/checkout@v3
3634

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
"homepage":"https://github.com/dakota"
2929
}
3030
],
31-
"require":{
32-
"php": ">=7.2.0",
33-
"cakephp/cakephp": "^4.0.2",
31+
"require": {
32+
"php": ">=7.4.0",
33+
"cakephp/cakephp": "^4.4.1",
3434
"friendsofcake/crud": "^6.0",
35-
"neomerx/json-api": "^4.0"
35+
"laravel-json-api/neomerx-json-api": "^5.0"
3636
},
3737
"require-dev": {
3838
"phpunit/phpunit": "~8.5 || ^9.3",
3939
"friendsofcake/cakephp-test-utilities": "^2.0.1",
40-
"friendsofcake/search": "^6.0.0",
40+
"friendsofcake/search": "^6.2.2",
4141
"cakephp/cakephp-codesniffer": "^4.0",
4242
"dms/phpunit-arraysubset-asserts": "^0.4.0"
4343
},

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ parameters:
66
paths:
77
- src
88
checkMissingIterableValueType: false
9+
checkGenericClassInNonGenericObjectType: false
910
universalObjectCratesClasses:
1011
- Crud\Event\Subject
1112
bootstrapFiles:

0 commit comments

Comments
 (0)