Skip to content

Commit

Permalink
Merge pull request #64 from phalcon/v5-alpha.2
Browse files Browse the repository at this point in the history
V5 alpha.2
  • Loading branch information
Jeckerson authored Sep 11, 2021
2 parents 77384e4 + 25ff67b commit 49daba9
Show file tree
Hide file tree
Showing 540 changed files with 3,763 additions and 2,989 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: main
name: Stubs code validation

on:
pull_request:
push:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
php-versions: [7.3, 7.4]
php-versions: [7.4, 8.0]

steps:
- uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, zip, psr
tools: prestissimo

- name: Get Composer Cache Directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
Expand All @@ -25,9 +30,13 @@ jobs:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: composer install
run: composer install --no-interaction --no-ansi --no-progress --no-suggest

- run: composer install --no-interaction --no-ansi --no-progress

- name: run psalm
if: always()
run: vendor/bin/psalm

- name: run phpcs
if: always()
run: vendor/bin/phpcs
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# Phalcon IDE Stubs v4
# Phalcon IDE Stubs

This repo provide the most complete Phalcon Framework stubs which enables autocompletion in modern IDEs.
This repo provides the most complete Phalcon Framework stubs which enables autocompletion in modern IDEs.

## Installing via Composer

1. Install Composer in a common location or in your project:
```bash
curl -s http://getcomposer.org/installer | php
```

2. Install via composer:
```bash
composer require --dev phalcon/ide-stubs
```

3. Setup your IDE.
```bash
composer require --dev phalcon/ide-stubs
```

## Installing via Git

Expand All @@ -41,4 +33,3 @@ Support us with a monthly donation and help us continue our activities. [[Become
## License

Phalcon IDE Stubs is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"forum": "https://forum.phalcon.io/"
},
"require": {
"php": ">=7.2.0"
"php": ">=7.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
Expand Down
Loading

0 comments on commit 49daba9

Please sign in to comment.