Skip to content

Commit

Permalink
Align with changes in dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
prwater committed Sep 29, 2024
1 parent 4e4ebf2 commit 8ead974
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 21 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/.idea/
/.phpunit.result.cache
/.phpunit.cache/
/bin/
/composer.lock
/custom.task.properties
/custom.type.properties
/node_modules/
/package-lock.json
/plaisio-assets.csv
Expand Down
16 changes: 7 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,18 @@
"plaisio/helper-html": "^4.1.0",
"plaisio/kernel": "^3.2.1",
"plaisio/page-core": "^1.5.0",
"plaisio/request": "^0.13.1",
"plaisio/request": "^1.0.0",
"plaisio/response-core": "^2.8.0",
"plaisio/session-core": "^5.2.0",
"symfony/polyfill-uuid": "^1.27.0"
"plaisio/session-core": "^5.4.0",
"symfony/polyfill-uuid": "^1.31.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"phing/phing": "^3.0.0",
"phpunit/phpunit": "^9.6.3",
"phpunit/phpunit": "^10.5.35",
"plaisio/console-kernel": "^1.0.1",
"plaisio/console-type-script": "^1.0.0",
"plaisio/phing-extensions": "^3.2.0",
"setbased/phing-extensions": "^3.1.0"
"plaisio/console-type-script": "^1.1.0",
"plaisio/phing-extensions": "^3.3.0",
"setbased/phing-extensions": "^3.2.0"
},
"autoload": {
"psr-4": {
Expand Down
18 changes: 10 additions & 8 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">vendor/setbased</directory>
</exclude>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="test/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache">
<coverage>
<report>
<clover outputFile="test/coverage.xml"/>
<html outputDirectory="test/report"/>
Expand All @@ -18,4 +12,12 @@
</testsuite>
</testsuites>
<logging/>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">vendor/setbased</directory>
</exclude>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion src/Page/FlashMessageRemovePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static function getUrl(): string
*/
public function checkAuthorization(): void
{
if (!Nub::$nub->request->isPost())
if (!Nub::$nub->request->isPost)
{
throw new BadRequestException('POST expected');
}
Expand Down

0 comments on commit 8ead974

Please sign in to comment.