Skip to content

Commit 9fae862

Browse files
authored
Merge pull request #13876 from phalcon/4.0.x
4.0.0-alpha.3
2 parents 171b6cd + 478e7da commit 9fae862

File tree

519 files changed

+158911
-88808
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

519 files changed

+158911
-88808
lines changed

.ci/appveyor.psm1

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ function InitializeBuildVars {
4343

4444
function InitializeReleaseVars {
4545
if ($Env:BUILD_TYPE -Match "nts-Win32") {
46-
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_MINOR}_${Env:APPVEYOR_BUILD_VERSION}_nts"
46+
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_VERSION}_${Env:APPVEYOR_BUILD_VERSION}_nts"
4747

4848
if ($Env:PLATFORM -eq 'x86') {
4949
$Env:RELEASE_FOLDER = "Release"
5050
} else {
5151
$Env:RELEASE_FOLDER = "x64\Release"
5252
}
5353
} else {
54-
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_MINOR}_${Env:APPVEYOR_BUILD_VERSION}"
54+
$Env:RELEASE_ZIPBALL = "phalcon_${Env:PLATFORM}_vc${Env:VC_VERSION}_php${Env:PHP_VERSION}_${Env:APPVEYOR_BUILD_VERSION}"
5555

5656
if ($Env:PLATFORM -eq 'x86') {
5757
$Env:RELEASE_FOLDER = "Release_TS"

.ci/install-mysql-5.7.sh

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
#
3+
# This file is part of the Phalcon Framework.
4+
#
5+
# (c) Phalcon Team <[email protected]>
6+
#
7+
# For the full copyright and license information, please view the
8+
# LICENSE.txt file that was distributed with this source code.
9+
10+
# Ensure that this is being run inside a CI container
11+
if [ "${CI}" != "true" ];
12+
then
13+
>&2 echo "This script is designed to run inside a CI container only."
14+
>&2 echo "Aborting."
15+
exit 1
16+
fi
17+
18+
echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections
19+
wget https://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
20+
sudo dpkg --install mysql-apt-config_0.7.3-1_all.deb
21+
sudo apt-get update -q
22+
sudo apt-get install -q -y --allow-unauthenticated -o Dpkg::Options::=--force-confnew mysql-server
23+
sudo mysql_upgrade

.editorconfig

+7-28
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,22 @@
11
# EditorConfig is awesome: http://EditorConfig.org
22

3-
root = true
4-
charset = utf-8
5-
trim_trailing_whitespace = true
3+
# top-most EditorConfig file
4+
root = true
65

76
[*]
87
end_of_line = lf
98
insert_final_newline = true
109
indent_style = space
1110
indent_size = 4
12-
13-
[*.{c,h,awk,w32,bat,mk,Makefile,frag,zep,lemon,re,psm1,sh}]
1411
charset = utf-8
15-
end_of_line = lf
16-
indent_size = 4
17-
indent_style = tab
18-
tab_width = 4
1912
trim_trailing_whitespace = true
20-
insert_final_newline = true
2113

22-
[*.{yml,m4,json,xml}]
23-
charset = utf-8
24-
end_of_line = lf
25-
indent_size = 2
26-
indent_style = space
27-
trim_trailing_whitespace = true
28-
insert_final_newline = true
14+
[*.{c,h,awk,w32,bat,mk,Makefile,frag,zep,lemon,re,psm1,sh}]
15+
indent_style = tab
16+
tab_width = 4
2917

30-
[*.{php,phpt}]
31-
charset = utf-8
32-
end_of_line = lf
33-
indent_size = 4
34-
indent_style = space
35-
trim_trailing_whitespace = true
36-
insert_final_newline = true
18+
[*.{yml,m4,json,xml}]
19+
indent_size = 2
3720

3821
[*.md]
39-
charset = utf-8
40-
end_of_line = lf
41-
indent_style = space
4222
trim_trailing_whitespace = false
43-
insert_final_newline = true

.github/PULL_REQUEST_TEMPLATE.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ Hello!
33
* Type: bug fix | new feature | code quality | documentation
44
* Link to issue:
55

6-
**In raising this pull request, I confirm the following (please check boxes):**
6+
**In raising this pull request, I confirm the following:**
77

8-
- [ ] I have read and understood the [Contributing Guidelines](https://github.com/phalcon/cphalcon/blob/master/CONTRIBUTING.md)?
9-
- [ ] I have checked that another pull request for this purpose does not exist.
10-
- [ ] I wrote some tests for this PR.
8+
- [ ] I have read and understood the [Contributing Guidelines](https://github.com/phalcon/cphalcon/blob/master/CONTRIBUTING.md)
9+
- [ ] I have checked that another pull request for this purpose does not exist
10+
- [ ] I wrote some tests for this PR
11+
- [ ] I updated the CHANGELOG
1112

1213
Small description of change:
1314

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ autom4te.cache/
4949
/ide/
5050

5151
.zephir/
52+
zephir.phar
5253

5354
boxfile.yml
5455
composer.lock

.travis.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ sudo: false
22

33
language: php
44
php:
5-
# PHP 7.4 does not ready yet
5+
# PHP 7.4 is not ready yet
66
# - 'master'
77
- '7.3'
88
- '7.2'
@@ -18,19 +18,15 @@ branches:
1818

1919
addons:
2020
apt:
21-
sources:
22-
- mysql-5.7-trusty
2321
packages:
2422
- beanstalkd
2523
- gdb
2624
- lcov
27-
- mysql-server
28-
- mysql-client
2925
postgresql: "9.4"
3026

3127
matrix:
3228
fast_finish: true
33-
# PHP 7.4 does not ready yet
29+
# PHP 7.4 is not ready yet
3430
# allow_failures:
3531
# - php: 'master'
3632

@@ -86,6 +82,7 @@ before_install:
8682
export PHP_PEAR_PHP_BIN=$(phpenv which php)
8783
8884
install:
85+
- .ci/install-mysql-5.7.sh
8986
- tests/_ci/setup-dbs.sh
9087
- tests/_ci/pear-setup.sh
9188
- .ci/install-prereqs.sh

0 commit comments

Comments
 (0)