Commit d24a5c2
compatibility with php 7.4 and 8.x (propelorm#4)
* Correct deprecated methods in PHP7.4 (propelorm#1079)
* runtime/lib/query/Join.php
implode() was used against the definition (wrong PHP documentation
* runtime/lib/query/ModelCriteria.php
count() was used on non-countable variable (non-array)
* 7.4 and phpunit9 changes. Tests are passing
* Compatibility changes
* Added docker setup
* updated travis
* added correct path
* 7.4 final travis setup
* propelorm#1086: Code review suggestions applying
* remove dependency on docker mysql
* remove 5.6 and 7.2 from test matrix; add 8.0 and 8.1
* Upgraded PHP version and removed some deprecations
* Migrated phpunit.xml.dist
* Switched to PHP8.0 in Dockerfile
* Removed usage of ReflectionClass->getClass in favor of ReflectionClass->getType
* Changed order of arguments in ModelCriteriaTest.php and ModelCriteriaWithNamespaceTest.php
* Fixed signatures of PropelOnDemandCollection::asort and PropelOnDemandCollection::ksort
* Removed require_once from all the classes because we have autoloading via composer
* Rector automated upgrade to PHP8
* Fixed invalid handling of resource type for binded value in DebugPDOStatement.php
* Fixed invalid way of checking if method exists in delegated class via is_callable. Switched to method_exists
* Replaced order of params because of failed tests
* [STYLE]: Added simplified usage because of version support dropping
* Fix use of abs() with string on PHP8.0
Can happen when using Yaml's multiline syntax
* specify minimum version of phing for php8
* drop php 7.3 from test matrix
* update to ubuntu-20.04
* fork propel/propel1 for versions >=1.8
Co-authored-by: Michal Drozd <[email protected]>
Co-authored-by: Luke Adamczewski <[email protected]>
Co-authored-by: Łukasz Adamczewski <[email protected]>
Co-authored-by: Jeffrey Wong <[email protected]>
Co-authored-by: Luke Adamczewski <[email protected]>
Co-authored-by: Paulo Magalhaes <[email protected]>1 parent 678736a commit d24a5c2
File tree
149 files changed
+176
-272
lines changed- .github/workflows
- docker
- generator/lib
- behavior
- aggregate_column
- templates
- archivable
- templates
- concrete_inheritance
- i18n
- templates
- nestedset
- sortable
- versionable
- builder
- om
- sql
- mssql
- mysql
- oracle
- pgsql
- sqlite
- sqlsrv
- util
- config
- exception
- model
- diff
- platform
- reverse
- mssql
- mysql
- oracle
- pgsql
- sqlite
- sqlsrv
- task
- util
- runtime/lib
- collection
- connection
- formatter
- parser/yaml
- test
- testsuite
- generator/behavior/concrete_inheritance
- runtime/query
- tools/helpers/bookstore
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
149 files changed
+176
-272
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | | - | |
21 | | - | |
| 17 | + | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
26 | 31 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
36 | 48 | | |
37 | 49 | | |
| 50 | + | |
| 51 | + | |
38 | 52 | | |
39 | 53 | | |
40 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
0 commit comments