Commit graph

19549 commits

Author SHA1 Message Date
Koji Tanaka
a95654de88 clean: Stop overriding TestCase::run().
Overriding the run method to perform fixture management processing is no longer necessary since moved it to CakeFixtureInjector.

Co-authored-by: Kenshin Okinaka <okinakak@yahoo.co.jp>
2023-01-11 22:45:29 +01:00
Koji Tanaka
75716f76bc test: Add return type declarations to overridden methods of TestCase classes. 2023-01-11 22:45:29 +01:00
Koji Tanaka
0692ce5b62 test: Updated TestSuite class for PHPUnit 9.5 2023-01-11 22:45:29 +01:00
Koji Tanaka
aac44b074b build: Added GitHub Actions workflow to run phpcs. 2023-01-11 22:45:29 +01:00
Koji Tanaka
30826e5902 build: Added GitHub Actions workflow to run all tests. 2023-01-11 22:45:29 +01:00
Koji Tanaka
fe26fedbbc build: Cut out database.php embedded in .travis.yml 2023-01-11 22:45:29 +01:00
Koji Tanaka
bd633c023a feat: Implement a fixture callback class using the PHPUnit TestListener interface. 2023-01-11 22:45:29 +01:00
Koji Tanaka
72079a54e6 build: add CakePHP2 tests bootstrap files 2023-01-11 22:45:29 +01:00
Koji Tanaka
5f504f1cff build: add phpunit.xml.dist 2023-01-11 22:45:29 +01:00
Koji Tanaka
c377681424 $ composer require --dev phpunit/phpunit:^9.5 2023-01-11 22:45:29 +01:00
Kamil Wylegala
9e0fd38f37 Changelog. 2022-10-20 22:36:21 +02:00
chrip
dbb77bf125 Fix wrong line ending in email header when using MailTransport. 2022-10-20 22:35:02 +02:00
Kamil Wylegala
b99b71e7cc Change log update. 2022-10-08 12:07:15 +02:00
Markus Bauer
a139699e7e Include new "full_path" field in security hash as of PHP 8.1 2022-10-08 12:05:45 +02:00
Markus Bauer
ef8fee29b2
Fix schema migration that creates multiple UNIQUE indexes at once (#18)
* Fix schema migration that creates multiple UNIQUE indexes at once

* Add to changelog

Co-authored-by: Markus Bauer <markus.bauer@cispa.saarland>
2022-09-27 21:41:08 +02:00
Kamil Wylegala
a5a0ccd551 Fixed passing arguments to invokeArgs when resolving controller's action. 2022-03-08 19:55:03 +01:00
Kamil Wylegala
ea13b9f3d1
Merge pull request #14 from apeschar/rm-string
Remove String class
2022-03-03 10:10:39 +01:00
Albert Peschar
28e446d7bb Update README 2022-03-03 10:49:49 +02:00
Albert Peschar
2121cdc43c Remove String class 2022-03-03 10:27:13 +02:00
Kamil Wylegala
ead607a92d
Merge pull request #13 from apeschar/console-error-suppression
Fix error suppression (`@` operator) in console
2022-03-02 15:27:14 +01:00
Albert Peschar
ec0f1811eb Update README.md 2022-03-02 15:59:03 +02:00
Albert Peschar
60e28a1e3e Handle error suppression in ConsoleErrorHandler 2022-03-02 15:58:32 +02:00
Kamil Wylegala
c276f027eb
Update README.md 2022-01-31 19:11:33 +01:00
Kamil Wylegala
527ace3951
Merge pull request #12 from apeschar/folder-array-values
Use array_values to avoid named parameters error in Folder.php
2022-01-31 19:08:29 +01:00
Albert Peschar
d9247a0832 Use array_values to avoid named parameters error 2022-01-31 17:02:07 +00:00
Kamil Wylegala
5bb14f0c60
Update README.md 2022-01-16 17:56:37 +01:00
Kamil Wylegala
79104b933d
Merge pull request #11 from josemv92/fix-shell
runCommand $command as string
2022-01-16 17:55:35 +01:00
José Muñoz
3719cce178 runCommand $command as string
Sets typehint for runCommand argument as string.

Fixes original default behavior to send string $command rather than null.
2022-01-16 07:47:57 -07:00
Kamil Wylegala
e946ab071d More explicit readme file. 2022-01-15 23:08:43 +01:00
Kamil Wylegala
7302598222 Fixed deprecation notice: numeric prefix cannot be null in http_build_query. 2022-01-04 23:08:45 +01:00
Kamil Wylegala
a908a13f96
Update README.md 2022-01-04 19:54:06 +01:00
Kamil Wylegala
300f245160
Merge pull request #8 from kamilwylegala/fix-notices
Fix notices
2022-01-04 19:52:19 +01:00
Kamil Wylegala
b9630655d8 Fixed deprecation notice strupper in DboSource 2022-01-04 18:49:06 +01:00
Kamil Wylegala
08f228f02a Fixed deprecation notice about 'preg_match(): Passing null to parameter #2 () of type string is deprecated' 2022-01-04 17:16:07 +01:00
Kamil Wylegala
ef0e0a7175 Fixed: "strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated" 2022-01-04 16:55:02 +01:00
Kamil Wylegala
d83997f849 Fixed 'Automatic conversion of false to array is deprecated'. 2022-01-04 16:45:09 +01:00
Kamil Wylegala
c9a03168d8
Update README.md 2021-12-22 12:04:52 +01:00
Kamil Wylegala
58e843e981 Readme update. 2021-12-20 23:32:50 +01:00
Kamil Wylegala
257f639606
Merge pull request #6 from kamilwylegala/3-deprecation-countable
Fixed deprecation notice in PHP 8.1: Countable #3
2021-12-20 23:25:45 +01:00
Kamil Wylegala
ad33741e0d Fixed deprecation notice in PHP 8.1: Countable #3 2021-12-20 23:23:30 +01:00
Kamil Wylegala
bfe52deb9e
Merge pull request #5 from kamilwylegala/2-iterator-aggregate
Fixed deprecation notice in PHP 8.1: IteratorAggregate
2021-12-20 23:21:46 +01:00
Kamil Wylegala
bd3aac5001 Fixed deprecation notice in PHP 8.1: IteratorAggregate 2021-12-20 23:20:05 +01:00
Kamil Wylegala
e78874b3e3
Merge pull request #4 from kamilwylegala/1-fix-deprecation-notices
Fixed deprecation notices in PHP 8.1: ArrayAccess
2021-12-20 23:15:01 +01:00
Kamil Wylegala
61e4ef05c8 Fixed implementations of ArrayAccess to reduce deprecation notices in PHP 8.1 #1 2021-12-20 23:09:51 +01:00
Kamil Wylegala
e9ef6fb7e3 Fork README update. 2021-02-24 23:54:42 +01:00
Kamil Wylegala
20419bd82b PHP8: ErrorHandler fixed accordingly to migration guide. 2021-02-24 23:08:03 +01:00
Kamil Wylegala
3b999b74b9 Allow PHP8 in composer.json 2021-02-16 20:34:45 +01:00
Mark Story
cf14e6546e Bump version 2020-12-15 21:47:53 -05:00
Mark Story
1c27b82b49
Merge pull request #15181 from cakephp/fix-15163
Fix incorrect URL generation
2020-11-30 10:38:21 -05:00
Mark Story
da9f6991c5
Merge pull request #15154 from mfn/mfn-php8-compat
[2.x] php-8.0-compat: fix "Error: Unknown named parameter $subject"
2020-11-28 13:49:09 -05:00