mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
Symfomny 7.4.0
This commit is contained in:
1
.idea/TijdVoorDeTest.iml
generated
1
.idea/TijdVoorDeTest.iml
generated
@@ -168,6 +168,7 @@
|
|||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/dama/doctrine-test-bundle" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/dama/doctrine-test-bundle" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/gedmo/doctrine-extensions" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/gedmo/doctrine-extensions" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/vendor/stof/doctrine-extensions-bundle" />
|
<excludeFolder url="file://$MODULE_DIR$/vendor/stof/doctrine-extensions-bundle" />
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php85" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
|||||||
1
.idea/php.xml
generated
1
.idea/php.xml
generated
@@ -198,6 +198,7 @@
|
|||||||
<path value="$PROJECT_DIR$/vendor/doctrine/migrations" />
|
<path value="$PROJECT_DIR$/vendor/doctrine/migrations" />
|
||||||
<path value="$PROJECT_DIR$/vendor/evenement/evenement" />
|
<path value="$PROJECT_DIR$/vendor/evenement/evenement" />
|
||||||
<path value="$PROJECT_DIR$/vendor/stof/doctrine-extensions-bundle" />
|
<path value="$PROJECT_DIR$/vendor/stof/doctrine-extensions-bundle" />
|
||||||
|
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php85" />
|
||||||
</include_path>
|
</include_path>
|
||||||
</component>
|
</component>
|
||||||
<component name="PhpInterpreters">
|
<component name="PhpInterpreters">
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ $finder = new Finder()
|
|||||||
->in(__DIR__)
|
->in(__DIR__)
|
||||||
->exclude('var')
|
->exclude('var')
|
||||||
->exclude('bin')
|
->exclude('bin')
|
||||||
|
->notPath(['config/reference.php'])
|
||||||
;
|
;
|
||||||
|
|
||||||
return new Config()
|
return new Config()
|
||||||
|
|||||||
@@ -20,27 +20,27 @@
|
|||||||
"runtime/frankenphp-symfony": "^0.2.0",
|
"runtime/frankenphp-symfony": "^0.2.0",
|
||||||
"sentry/sentry-symfony": "^5.6",
|
"sentry/sentry-symfony": "^5.6",
|
||||||
"stof/doctrine-extensions-bundle": "^1.14",
|
"stof/doctrine-extensions-bundle": "^1.14",
|
||||||
"symfony/asset": "7.3.*",
|
"symfony/asset": "7.4.*",
|
||||||
"symfony/asset-mapper": "7.3.*",
|
"symfony/asset-mapper": "7.4.*",
|
||||||
"symfony/brevo-mailer": "7.3.*",
|
"symfony/brevo-mailer": "7.4.*",
|
||||||
"symfony/console": "7.3.*",
|
"symfony/console": "7.4.*",
|
||||||
"symfony/dotenv": "7.3.*",
|
"symfony/dotenv": "7.4.*",
|
||||||
"symfony/flex": "^2.8.2",
|
"symfony/flex": "^2.10.0",
|
||||||
"symfony/form": "7.3.*",
|
"symfony/form": "7.4.*",
|
||||||
"symfony/framework-bundle": "7.3.*",
|
"symfony/framework-bundle": "7.4.*",
|
||||||
"symfony/mailer": "7.3.*",
|
"symfony/mailer": "7.4.*",
|
||||||
"symfony/property-access": "7.3.*",
|
"symfony/property-access": "7.4.*",
|
||||||
"symfony/property-info": "7.3.*",
|
"symfony/property-info": "7.4.*",
|
||||||
"symfony/runtime": "7.3.*",
|
"symfony/runtime": "7.4.*",
|
||||||
"symfony/security-bundle": "7.3.*",
|
"symfony/security-bundle": "7.4.*",
|
||||||
"symfony/security-csrf": "7.3.*",
|
"symfony/security-csrf": "7.4.*",
|
||||||
"symfony/serializer": "7.3.*",
|
"symfony/serializer": "7.4.*",
|
||||||
"symfony/translation": "7.3.*",
|
"symfony/translation": "7.4.*",
|
||||||
"symfony/twig-bundle": "7.3.*",
|
"symfony/twig-bundle": "7.4.*",
|
||||||
"symfony/uid": "7.3.*",
|
"symfony/uid": "7.4.*",
|
||||||
"symfony/ux-turbo": "^2.30.0",
|
"symfony/ux-turbo": "^2.31.0",
|
||||||
"symfony/validator": "7.3.*",
|
"symfony/validator": "7.4.*",
|
||||||
"symfony/yaml": "7.3.*",
|
"symfony/yaml": "7.4.*",
|
||||||
"symfonycasts/sass-bundle": "^0.8.3",
|
"symfonycasts/sass-bundle": "^0.8.3",
|
||||||
"symfonycasts/verify-email-bundle": "^1.17.4",
|
"symfonycasts/verify-email-bundle": "^1.17.4",
|
||||||
"thecodingmachine/safe": "^3.3.0",
|
"thecodingmachine/safe": "^3.3.0",
|
||||||
@@ -60,12 +60,12 @@
|
|||||||
"phpunit/phpunit": "^12.4.1",
|
"phpunit/phpunit": "^12.4.1",
|
||||||
"rector/rector": "^2.2.3",
|
"rector/rector": "^2.2.3",
|
||||||
"roave/security-advisories": "dev-latest",
|
"roave/security-advisories": "dev-latest",
|
||||||
"symfony/browser-kit": "7.3.*",
|
"symfony/browser-kit": "7.4.*",
|
||||||
"symfony/css-selector": "7.3.*",
|
"symfony/css-selector": "7.4.*",
|
||||||
"symfony/maker-bundle": "^1.64.0",
|
"symfony/maker-bundle": "^1.65.0",
|
||||||
"symfony/phpunit-bridge": "7.3.*",
|
"symfony/phpunit-bridge": "7.4.*",
|
||||||
"symfony/stopwatch": "7.3.*",
|
"symfony/stopwatch": "7.4.*",
|
||||||
"symfony/web-profiler-bundle": "7.3.*",
|
"symfony/web-profiler-bundle": "7.4.*",
|
||||||
"thecodingmachine/phpstan-safe-rule": "^1.4.1",
|
"thecodingmachine/phpstan-safe-rule": "^1.4.1",
|
||||||
"vincentlanglet/twig-cs-fixer": "^3.10.0"
|
"vincentlanglet/twig-cs-fixer": "^3.10.0"
|
||||||
},
|
},
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"allow-contrib": false,
|
"allow-contrib": false,
|
||||||
"require": "7.3.*",
|
"require": "7.4.*",
|
||||||
"docker": true
|
"docker": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2096
composer.lock
generated
2096
composer.lock
generated
File diff suppressed because it is too large
Load Diff
1636
config/reference.php
Normal file
1636
config/reference.php
Normal file
File diff suppressed because it is too large
Load Diff
@@ -10,28 +10,31 @@ use Tvdt\Helpers\Base64;
|
|||||||
|
|
||||||
class Base64Test extends TestCase
|
class Base64Test extends TestCase
|
||||||
{
|
{
|
||||||
public function testBase64UrlEncode() {
|
public function testBase64UrlEncode()
|
||||||
|
{
|
||||||
$this->assertEquals('TWFyaWpu', Base64::base64UrlEncode('Marijn'));
|
$this->assertEquals('TWFyaWpu', Base64::base64UrlEncode('Marijn'));
|
||||||
$this->assertEquals('UGhpbGluZQ', Base64::base64UrlEncode('Philine'));
|
$this->assertEquals('UGhpbGluZQ', Base64::base64UrlEncode('Philine'));
|
||||||
|
|
||||||
$this->assertEquals('_g', Base64::base64UrlEncode(chr(254)));
|
$this->assertEquals('_g', Base64::base64UrlEncode(\chr(254)));
|
||||||
$this->assertEquals('-g', Base64::base64UrlEncode(chr(250)));
|
$this->assertEquals('-g', Base64::base64UrlEncode(\chr(250)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testBase64UrlDecode() {
|
public function testBase64UrlDecode()
|
||||||
|
{
|
||||||
$this->assertEquals('Marijn', Base64::base64UrlDecode('TWFyaWpu'));
|
$this->assertEquals('Marijn', Base64::base64UrlDecode('TWFyaWpu'));
|
||||||
$this->assertEquals('Philine', Base64::base64UrlDecode('UGhpbGluZQ'));
|
$this->assertEquals('Philine', Base64::base64UrlDecode('UGhpbGluZQ'));
|
||||||
|
|
||||||
$this->assertEquals(chr(254), Base64::base64UrlDecode('_g'));
|
$this->assertEquals(\chr(254), Base64::base64UrlDecode('_g'));
|
||||||
$this->assertEquals(chr(250), Base64::base64UrlDecode('-g'));
|
$this->assertEquals(\chr(250), Base64::base64UrlDecode('-g'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testBase64UrlDecodeCanHandlePadding() {
|
public function testBase64UrlDecodeCanHandlePadding()
|
||||||
|
{
|
||||||
$this->assertEquals('Philine', Base64::base64UrlDecode('UGhpbGluZQ=='));
|
$this->assertEquals('Philine', Base64::base64UrlDecode('UGhpbGluZQ=='));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testBase64UrlDecodeThrowsExceptionOnInvalidInput() {
|
public function testBase64UrlDecodeThrowsExceptionOnInvalidInput()
|
||||||
|
{
|
||||||
$this->expectException(UrlException::class);
|
$this->expectException(UrlException::class);
|
||||||
Base64::base64UrlDecode('Philine==');
|
Base64::base64UrlDecode('Philine==');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user