Update dependencies to latest versions
This commit is contained in:
parent
dd708bb1fa
commit
546789ce40
@ -4,7 +4,6 @@ install:
|
|||||||
- composer install --ignore-platform-reqs
|
- composer install --ignore-platform-reqs
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.3
|
|
||||||
- 7.4
|
- 7.4
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
@ -12,13 +11,6 @@ script:
|
|||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
- php vendor/bin/phpunit -c build
|
- php vendor/bin/phpunit -c build
|
||||||
|
|
||||||
#after_script:
|
|
||||||
# - CODECLIMATE_REPO_TOKEN=2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058 vendor/bin/test-reporter
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
|
||||||
#addons:
|
|
||||||
# code_climate:
|
|
||||||
# repo_token: 2cbddcebcb9256b3402867282e119dbe61de0b31039325356af3c7d72ed6d058
|
|
@ -1,5 +1,8 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Version 5
|
||||||
|
* Updated PHP requirement to 7.4
|
||||||
|
|
||||||
## Version 4.2
|
## Version 4.2
|
||||||
* Updated dependencies
|
* Updated dependencies
|
||||||
* Updated PHP requirement to 7.3
|
* Updated PHP requirement to 7.3
|
||||||
|
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -10,18 +10,6 @@ pipeline {
|
|||||||
sh 'php composer.phar install --ignore-platform-reqs'
|
sh 'php composer.phar install --ignore-platform-reqs'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('PHP 7.3') {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'php:7.3-alpine'
|
|
||||||
args '-u root --privileged'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh 'apk add --no-cache git'
|
|
||||||
sh 'php ./vendor/bin/phpunit --colors=never'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('PHP 7.4') {
|
stage('PHP 7.4') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "7.3"
|
"php": "7.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -50,7 +50,7 @@
|
|||||||
"laminas/laminas-httphandlerrunner": "^1.0",
|
"laminas/laminas-httphandlerrunner": "^1.0",
|
||||||
"maximebf/consolekit": "^1.0",
|
"maximebf/consolekit": "^1.0",
|
||||||
"monolog/monolog": "^2.0.1",
|
"monolog/monolog": "^2.0.1",
|
||||||
"php": "^7.3",
|
"php": "^7.4 || ^8",
|
||||||
"psr/container": "~1.0",
|
"psr/container": "~1.0",
|
||||||
"psr/http-message": "~1.0",
|
"psr/http-message": "~1.0",
|
||||||
"psr/log": "~1.0",
|
"psr/log": "~1.0",
|
||||||
@ -60,14 +60,14 @@
|
|||||||
"consolidation/robo": "^2.0.0",
|
"consolidation/robo": "^2.0.0",
|
||||||
"filp/whoops": "^2.1",
|
"filp/whoops": "^2.1",
|
||||||
"pdepend/pdepend": "^2.2",
|
"pdepend/pdepend": "^2.2",
|
||||||
"phploc/phploc": "^5.0",
|
"phploc/phploc": "^6.0.2",
|
||||||
"phpmd/phpmd": "^2.8",
|
"phpmd/phpmd": "^2.8",
|
||||||
"phpstan/phpstan": "^0.12.0",
|
"phpstan/phpstan": "^0.12.0",
|
||||||
"phpunit/phpunit": "^8.4.3",
|
"phpunit/phpunit": "^9.1.1",
|
||||||
"roave/security-advisories": "dev-master",
|
"roave/security-advisories": "dev-master",
|
||||||
"robmorgan/phinx": "^0.10.6",
|
"robmorgan/phinx": "^0.10.6",
|
||||||
"sebastian/phpcpd": "^4.1.0",
|
"sebastian/phpcpd": "^5.0.2",
|
||||||
"spatie/phpunit-snapshot-assertions": "^2.2.1",
|
"spatie/phpunit-snapshot-assertions": "^4.1.0",
|
||||||
"squizlabs/php_codesniffer": "^3.2.2",
|
"squizlabs/php_codesniffer": "^3.2.2",
|
||||||
"symfony/var-dumper": "^5",
|
"symfony/var-dumper": "^5",
|
||||||
"theseer/phpdox": "*"
|
"theseer/phpdox": "*"
|
||||||
|
@ -24,7 +24,7 @@ const ERROR_MESSAGE_METHOD = 'errorPage';
|
|||||||
const NOT_FOUND_METHOD = 'notFound';
|
const NOT_FOUND_METHOD = 'notFound';
|
||||||
const SESSION_SEGMENT = 'Aviat\AnimeClient\Auth';
|
const SESSION_SEGMENT = 'Aviat\AnimeClient\Auth';
|
||||||
const SRC_DIR = __DIR__;
|
const SRC_DIR = __DIR__;
|
||||||
const USER_AGENT = "Tim's Anime Client/4.2";
|
const USER_AGENT = "Tim's Anime Client/5";
|
||||||
|
|
||||||
// Regex patterns
|
// Regex patterns
|
||||||
const ALPHA_SLUG_PATTERN = '[a-z_]+';
|
const ALPHA_SLUG_PATTERN = '[a-z_]+';
|
||||||
|
@ -1,5 +1,60 @@
|
|||||||
- null
|
-
|
||||||
- null
|
empty: false
|
||||||
- null
|
id: '15084773'
|
||||||
- null
|
mal_id: '26769'
|
||||||
- null
|
chapters: { read: 67, total: '-' }
|
||||||
|
volumes: { read: '-', total: '-' }
|
||||||
|
manga: { empty: false, genres: [Comedy, Romance, School, 'Slice of Life', Thriller], id: '20286', image: 'https://media.kitsu.io/manga/poster_images/20286/small.jpg?1434293999', slug: bokura-wa-minna-kawaisou, title: 'Bokura wa Minna Kawaisou', titles: { }, type: Manga, url: 'https://kitsu.io/manga/bokura-wa-minna-kawaisou' }
|
||||||
|
reading_status: current
|
||||||
|
notes: ''
|
||||||
|
rereading: false
|
||||||
|
reread: 0
|
||||||
|
user_rating: 9
|
||||||
|
-
|
||||||
|
empty: false
|
||||||
|
id: '15085607'
|
||||||
|
mal_id: '16'
|
||||||
|
chapters: { read: 17, total: 120 }
|
||||||
|
volumes: { read: '-', total: 14 }
|
||||||
|
manga: { empty: false, genres: [Comedy, Ecchi, Harem, Romance, Sports], id: '47', image: 'https://media.kitsu.io/manga/poster_images/47/small.jpg?1434249493', slug: love-hina, title: 'Love Hina', titles: { }, type: Manga, url: 'https://kitsu.io/manga/love-hina' }
|
||||||
|
reading_status: current
|
||||||
|
notes: ''
|
||||||
|
rereading: false
|
||||||
|
reread: 0
|
||||||
|
user_rating: 7
|
||||||
|
-
|
||||||
|
empty: false
|
||||||
|
id: '15084529'
|
||||||
|
mal_id: '35003'
|
||||||
|
chapters: { read: 16, total: '-' }
|
||||||
|
volumes: { read: '-', total: '-' }
|
||||||
|
manga: { empty: false, genres: [Comedy, Ecchi, 'Gender Bender', Romance, School, Sports, Supernatural], id: '11777', image: 'https://media.kitsu.io/manga/poster_images/11777/small.jpg?1438784325', slug: yamada-kun-to-7-nin-no-majo, title: 'Yamada-kun to 7-nin no Majo', titles: ['Yamada-kun and the Seven Witches'], type: Manga, url: 'https://kitsu.io/manga/yamada-kun-to-7-nin-no-majo' }
|
||||||
|
reading_status: current
|
||||||
|
notes: ''
|
||||||
|
rereading: false
|
||||||
|
reread: 0
|
||||||
|
user_rating: 9
|
||||||
|
-
|
||||||
|
empty: false
|
||||||
|
id: '15312827'
|
||||||
|
mal_id: '78523'
|
||||||
|
chapters: { read: 68, total: '-' }
|
||||||
|
volumes: { read: '-', total: '-' }
|
||||||
|
manga: { empty: false, genres: [Romance, School, 'Slice of Life'], id: '27175', image: 'https://media.kitsu.io/manga/poster_images/27175/small.jpg?1464379411', slug: relife, title: ReLIFE, titles: { }, type: Manga, url: 'https://kitsu.io/manga/relife' }
|
||||||
|
reading_status: current
|
||||||
|
notes: ''
|
||||||
|
rereading: false
|
||||||
|
reread: 0
|
||||||
|
user_rating: '-'
|
||||||
|
-
|
||||||
|
empty: false
|
||||||
|
id: '15084769'
|
||||||
|
mal_id: '60815'
|
||||||
|
chapters: { read: 43, total: '-' }
|
||||||
|
volumes: { read: '-', total: '-' }
|
||||||
|
manga: { empty: false, genres: [Comedy, School, 'Slice of Life'], id: '25491', image: 'https://media.kitsu.io/manga/poster_images/25491/small.jpg?1434305043', slug: joshikausei, title: Joshikausei, titles: { }, type: Manga, url: 'https://kitsu.io/manga/joshikausei' }
|
||||||
|
reading_status: current
|
||||||
|
notes: ''
|
||||||
|
rereading: false
|
||||||
|
reread: 0
|
||||||
|
user_rating: 8
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
<picture loading="lazy"><source srcset="https://www.example.com/image.webp" type="image/webp" /><source srcset="https://www.example.com/image.jpg" type="image/jpeg" /><img src="https://www.example.com/image.jpg" alt="" loading="lazy" /></picture>
|
@ -0,0 +1 @@
|
|||||||
|
<picture loading="lazy"><source srcset="https://localhost/assets/images/anime/15424.webp" type="image/webp" /><source srcset="https://localhost/assets/images/anime/15424.jpg" type="image/jpeg" /><img src="https://localhost/assets/images/anime/15424.jpg" alt="" loading="lazy" /></picture>
|
@ -0,0 +1 @@
|
|||||||
|
<picture loading="lazy"><source srcset="https://localhost/assets/images/avatar/25.bmp" type="image/bmp" /><source srcset="https://localhost/assets/images/avatar/25.gif" type="image/gif" /><img src="https://localhost/assets/images/avatar/25.gif" alt="" loading="lazy" /></picture>
|
@ -0,0 +1 @@
|
|||||||
|
<picture loading="lazy"><source srcset="https://localhost/assets/images/foo.jpf" type="image/jpx" /><source srcset="https://localhost/assets/images/foo.jpg" type="image/jpeg" /><img src="https://localhost/assets/images/foo.jpg" alt="" loading="lazy" /></picture>
|
@ -0,0 +1 @@
|
|||||||
|
<img src="https://localhost/assets/images/placeholder.png" alt="placeholder.png" loading="lazy" />
|
@ -0,0 +1 @@
|
|||||||
|
<img src="https://localhost/assets/images/foo.jpg" alt="should exist" width="200" height="200" loading="lazy" />
|
@ -0,0 +1 @@
|
|||||||
|
<picture width="200" height="300" loading="lazy"><source srcset="https://localhost/assets/images/example.svg" type="image/svg+xml" /><source srcset="https://localhost/assets/images/example.png" type="image/png" /><img src="https://localhost/assets/images/example.png" alt="Example text" loading="lazy" /></picture>
|
@ -0,0 +1 @@
|
|||||||
|
<picture loading="lazy"><source srcset="https://localhost/assets/images/placeholder.webp" type="image/webp" /><source srcset="https://localhost/assets/images/placeholder.png" type="image/png" /><img src="https://localhost/assets/images/placeholder.png" alt="" loading="lazy" /></picture>
|
@ -0,0 +1,2 @@
|
|||||||
|
<label><input type="radio" name="enabled" value="1" /> Yes</label>
|
||||||
|
<label><input type="radio" name="enabled" value="0" checked /> No</label>
|
@ -0,0 +1 @@
|
|||||||
|
<input id="connection" type="text" name="connection" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="kitsu_username" type="text" name="kitsu_username" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="whose_list" type="text" name="whose_list" value="" />
|
@ -0,0 +1,5 @@
|
|||||||
|
<select id="theme" name="theme">
|
||||||
|
<option value="auto">Automatically match OS theme</option>
|
||||||
|
<option value="light">Original Light Theme</option>
|
||||||
|
<option value="dark">Dark Theme</option>
|
||||||
|
</select>
|
@ -0,0 +1,2 @@
|
|||||||
|
<label><input type="radio" name="show_anime_collection" value="1" /> Yes</label>
|
||||||
|
<label><input type="radio" name="show_anime_collection" value="0" checked /> No</label>
|
@ -0,0 +1,2 @@
|
|||||||
|
<label><input type="radio" name="show_manga_collection" value="1" /> Yes</label>
|
||||||
|
<label><input type="radio" name="show_manga_collection" value="0" checked /> No</label>
|
@ -0,0 +1,4 @@
|
|||||||
|
<select id="default_list" name="default_list">
|
||||||
|
<option value="anime">Anime</option>
|
||||||
|
<option value="manga">Manga</option>
|
||||||
|
</select>
|
@ -0,0 +1,8 @@
|
|||||||
|
<select id="default_anime_list_path" name="default_anime_list_path">
|
||||||
|
<option value="watching">Watching</option>
|
||||||
|
<option value="plan_to_watch">Plan to Watch</option>
|
||||||
|
<option value="on_hold">On Hold</option>
|
||||||
|
<option value="dropped">Dropped</option>
|
||||||
|
<option value="completed">Completed</option>
|
||||||
|
<option value="all">All</option>
|
||||||
|
</select>
|
@ -0,0 +1,8 @@
|
|||||||
|
<select id="default_manga_list_path" name="default_manga_list_path">
|
||||||
|
<option value="reading">Reading</option>
|
||||||
|
<option value="plan_to_read">Plan to Read</option>
|
||||||
|
<option value="on_hold">On Hold</option>
|
||||||
|
<option value="dropped">Dropped</option>
|
||||||
|
<option value="completed">Completed</option>
|
||||||
|
<option value="all">All</option>
|
||||||
|
</select>
|
@ -0,0 +1,5 @@
|
|||||||
|
<select id="type" name="type">
|
||||||
|
<option value="mysql">MySQL</option>
|
||||||
|
<option value="pgsql">PostgreSQL</option>
|
||||||
|
<option value="sqlite">SQLite</option>
|
||||||
|
</select>
|
@ -0,0 +1 @@
|
|||||||
|
<input id="client_id" type="text" name="client_id" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="host" type="text" name="host" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="user" type="text" name="user" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="pass" type="text" name="pass" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="port" type="text" name="port" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="database" type="text" name="database" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="file" type="text" name="file" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="client_secret" type="text" name="client_secret" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="username" type="text" name="username" value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="access_token" type="text" name="access_token" readonly value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="access_token_expires" type="text" name="access_token_expires" readonly value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input id="refresh_token" type="text" name="refresh_token" readonly value="" />
|
@ -0,0 +1 @@
|
|||||||
|
<input type="hidden" name="special_hidden_flag" value="foo_bar" />
|
@ -0,0 +1,6 @@
|
|||||||
|
<select id="driver" name="driver">
|
||||||
|
<option value="apcu">APCu</option>
|
||||||
|
<option value="memcached">Memcached</option>
|
||||||
|
<option value="redis">Redis</option>
|
||||||
|
<option value="null">No Cache</option>
|
||||||
|
</select>
|
Loading…
Reference in New Issue
Block a user