Commit 73148f8
compatibility with php 7.4 and 8.x (#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 7f42869 commit 73148f8
File tree
310 files changed
+618
-687
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
- map
- parser
- yaml
- query
- util
- validator
- test
- testsuite
- generator
- behavior
- aggregate_column
- archivable
- concrete_inheritance
- i18n
- nestedset
- sluggable
- sortable
- versionable
- builder
- om
- util
- config
- model
- diff
- platform
- reverse
- mssql
- mysql
- pgsql
- util
- misc
- runtime
- adapter
- collection
- config
- connection
- exception
- formatter
- map
- om
- parser
- query
- util
- validator
- tools/helpers
- bookstore
- cms
- namespaces
- schemas
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
310 files changed
+618
-687
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 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 7 | + | |
14 | 8 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 9 | + | |
| 10 | + | |
| 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 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 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 | | |
| |||
0 commit comments