Skip to content

Commit fb0e3bd

Browse files
2.2.1 (#120)
* ISSUE-112: Fixed empty index type on pgsql adapter usage * ISSUE-111: Replaced pgsql unsupported double type to supported float * Codestyle fixes * Added tests and validation fixes * PHP 8 support * updating tests and lock file * . * test ci adjustments * adjusting tests phalcon 5 installation * adjusting tests * updated composer packages * replaced deprecated assert * disabled psalm negative rule * CHANGELOG * ISSUE-111: Column types fix * ISSUE-112: mkdir redundant call removed * typehints on db testers seeExceptionThrown Co-authored-by: Kevin Yarmak <[email protected]>
1 parent fec5c23 commit fb0e3bd

27 files changed

+2654
-1790
lines changed

.github/ISSUE_TEMPLATE.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
> Questions should go to https://forum.phalcon.io
2+
> Documentation issues should go to https://github.com/phalcon/docs/issues
3+
4+
### Expected and Actual Behavior
5+
6+
> **Describe what you are trying to achieve and what goes wrong.**
7+
8+
> Provide output if related
9+
10+
```php
11+
// paste output here
12+
```
13+
> Provide minimal script to reproduce the issue
14+
15+
```php
16+
// paste code
17+
```
18+
19+
### Details
20+
21+
* System info and versions (if possible): (`phalcon info`)
22+
* Phalcon Framework version: (`php --ri phalcon`)
23+
* PHP Version: (`php -v`)
24+
* Operating System:
25+
* Server: Nginx | Apache | Other
26+
* Other related info (Database, table schema):

.github/PULL_REQUEST_TEMPLATE.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Hello!
2+
3+
* Type: bug fix | new feature | code quality | documentation
4+
* Link to issue:
5+
6+
**In raising this pull request, I confirm the following (please check boxes):**
7+
8+
- [ ] I have read and understood the [Contributing Guidelines][:contrib:]
9+
- [ ] I have checked that another pull request for this purpose does not exist
10+
- [ ] I wrote some tests for this PR
11+
12+
Small description of change:
13+
14+
Thanks
15+
16+
[:contrib:]: https://github.com/phalcon/migrations/blob/master/CONTRIBUTING.md

.github/workflows/tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Tests"
33
on: [push, pull_request]
44

55
jobs:
6-
run-tests:
6+
run-tests-php7:
77
name: PHP ${{ matrix.php-versions }}
88
runs-on: ubuntu-latest
99
env:
@@ -26,10 +26,9 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
php-versions: ['7.2', '7.3', '7.4']
29+
php-versions: ['7.3', '7.4']
3030
steps:
3131
- uses: actions/checkout@v1
32-
3332
- name: Setup cache environment
3433
id: cache-env
3534
uses: shivammathur/cache-extensions@v1
@@ -82,3 +81,4 @@ jobs:
8281
with:
8382
token: ${{secrets.CODECOV_TOKEN}}
8483
file: ./tests/_output/coverage-*.xml
84+

.github/workflows/validations.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
php-versions: ['7.2', '7.3', '7.4']
40+
php-versions: ['7.3', '7.4']
4141

4242
steps:
4343
- name: Checkout the code

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# [2.2.1](https://github.com/phalcon/migrations/releases/tag/v2.2.1) (2021-08-03)
2+
- Fixed types and indexes definition on pgsql adapter ([#111](https://github.com/phalcon/migrations/issues/111), [#112](https://github.com/phalcon/migrations/issues/112), [#118](https://github.com/phalcon/migrations/issues/118))
3+
4+
# [2.2.0](https://github.com/phalcon/migrations/releases/tag/v2.2.0) (2021-08-03)
5+
Supported Versions: 7.3, 7.4, 8.0
6+
7+
- This release provides initial PHP 8 support.
8+
19
# [2.1.6](https://github.com/phalcon/migrations/releases/tag/v2.1.6) (2021-03-22)
210
- Fixed duplicated table `phalcon_migrations` in PostgreSQL ([#104](https://github.com/phalcon/migrations/issues/104))
311
- Fixed morphing when column attribute `unsiged` is changed ([#109](https://github.com/phalcon/migrations/issues/109))

CONTRIBUTING.md

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Contributing to Phalcon Migrations Utility
2+
3+
Phalcon Migrations Utility is an open source project and a volunteer effort.
4+
Phalcon Migrations Utility welcomes contribution from everyone.
5+
6+
## Contributions
7+
8+
Contributions to Phalcon Migrations Utility should be made in the form of [GitHub pull requests][pr].
9+
Each pull request will be reviewed by a core contributor (someone with permission to land patches) and either landed in
10+
the main tree or given feedback for changes that would be required before it can be merged. All contributions should
11+
follow this format, even those from core contributors.
12+
13+
## Questions & Support
14+
15+
*We only accept bug reports, new feature requests and pull requests in GitHub*.
16+
For questions regarding the usage of the Phalcon Migrations Utility or support requests please visit the
17+
[official forums][forum]. IDE stubs must not be modified manually, if you want to improve them please submit a PR
18+
to [Phalcon Framework][cphalcon].
19+
20+
## Bug Report Checklist
21+
22+
- Make sure you are using the latest released version of Phalcon Framework and Phalcon Migrations Utility
23+
before submitting a bug report. Bugs in versions older than the latest released one will not be addressed by the
24+
core team
25+
26+
- If you have found a bug it is important to add relevant reproducibility information to your issue to allow us
27+
to reproduce the bug and fix it quicker. Add a script, small program or repository providing the necessary code to
28+
make everyone reproduce the issue reported easily. If a bug cannot be reproduced by the development it would be
29+
difficult provide corrections and solutions. [Submit Reproducible Test][srt] for more information.
30+
31+
- Be sure that information such as OS, Phalcon Framework and Phalcon Migrations Utility versions and PHP version are
32+
part of the bug report
33+
34+
- If you're submitting a Segmentation Fault error, we would require a backtrace, please see [Generating a Backtrace][gb]
35+
36+
## Pull Request Checklist
37+
38+
- Don't submit your pull requests to the `master` branch. Branch from the required branch and,
39+
if needed, rebase to the proper branch before submitting your pull request.
40+
If it doesn't merge cleanly with master you may be asked to rebase your changes
41+
42+
- Don't put submodule updates, composer.lock, etc in your pull request unless they are to landed commits
43+
44+
- Make sure that the code you write fits with the general style and coding standards of the [Accepted PHP Standards][psr]
45+
46+
## Getting Support
47+
48+
If you have a question about how to use Phalcon, please see the [support page][support].
49+
50+
## Requesting Features
51+
52+
If you have a change or new feature in mind, please fill an [NFR][nfr].
53+
54+
Thanks! <br />
55+
Phalcon Team
56+
57+
58+
[pr]: https://help.github.com/articles/about-pull-requests/
59+
[forum]: https://forum.phalcon.io/
60+
[cphalcon]: https://github.com/phalcon/cphalcon
61+
[srt]: https://docs.phalcon.io/en/latest/reproducible-tests
62+
[gb]: https://docs.phalcon.io/en/latest/generating-backtrace
63+
[support]: https://phalcon.io/en/support/
64+
[nfr]: https://docs.phalcon.io/en/latest/new-feature-request
65+
[psr]: https://www.php-fig.org/psr/

composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,22 @@
2626
"forum": "https://forum.phalcon.io"
2727
},
2828
"require": {
29-
"php": ">=7.2",
30-
"ext-phalcon": "^4.0.5",
29+
"php": ">=7.3",
30+
"ext-phalcon": ">=4.0.5",
3131
"phalcon/cli-options-parser": "^1.2"
3232
},
3333
"require-dev": {
3434
"ext-pdo": "*",
3535
"phalcon/ide-stubs": "^4.0.0",
36-
"vimeo/psalm": "^4.1",
3736
"squizlabs/php_codesniffer": "^3.5",
38-
"fzaninotto/faker": "^1.9",
37+
"fakerphp/faker": "^1.15",
3938
"humbug/box": "^3.8",
4039
"codeception/codeception": "^4.1",
4140
"codeception/module-asserts": "^1.0.0",
4241
"codeception/module-cli": "^1.0",
4342
"codeception/module-phpbrowser": "^1.0.0",
4443
"codeception/module-db": "^1.0",
44+
"vimeo/psalm": "^4.6",
4545
"vlucas/phpdotenv": "^4.1"
4646
},
4747
"autoload": {

0 commit comments

Comments
 (0)