Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,30 +28,18 @@
}
},
"require": {
"php": "^7.4 || ^8.0 || ^8.1",
"php": "^7.4 || ^8.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tästä voisi oikeastaan jo poistaa 7.4 eli pelkästään ^8.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 02a7c2b — PHP requirement is now ^8.0 only.

"psr/log": "^1.1.3",
"psr/container": "^1.1.1"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"devgeniem/geniem-rules-codesniffer": "^1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eikö tää ja lint-skripti kannattaisi säilyttää? Vai miksei voi käyttää?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored in 02a7c2bdevgeniem/geniem-rules-codesniffer, brainmaestro/composer-git-hooks, lint scripts, and pre-commit hooks are all back.

"brainmaestro/composer-git-hooks": "^v2.8.5",
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^9.6",
"10up/wp_mock": "^0.4.2",
"m6web/redis-mock": "^5",
"predis/predis": "2.0.x-dev as 2.0.0.0"
"predis/predis": "^2.0",
"m6web/redis-mock": "^5.6"
},
"scripts": {
"test": "vendor/bin/phpunit",
"lint": "vendor/bin/phpcs --standard=Geniem plugin.php src/",
"lint-without-warnings": "vendor/bin/phpcs --standard=Geniem plugin.php src/ --warning-severity=8",
"cghooks": "vendor/bin/cghooks"
},
"extra": {
"hooks": {
"pre-commit": [
"composer lint-without-warnings"
]
}
"test": "vendor/bin/phpunit"
}
}
Loading