* Remove unused code.

This commit is contained in:
孙广明
2022-05-17 11:18:05 +08:00
parent 46e4eae295
commit 59b7e2675c
3 changed files with 0 additions and 80 deletions
-25
View File
@@ -1,25 +0,0 @@
name: CI
on:
pull_request: null
push:
branches:
- lib
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0']
name: Linting - PHP ${{ matrix.php }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: intl
- run: composer install --no-progress
# - run: composer codestyle
- run: composer phpstan
- run: composer tests
-36
View File
@@ -1,36 +0,0 @@
build:
environment:
php:
version: '7.4'
nodes:
analysis:
project_setup:
override:
- 'true'
tests:
override:
-
command: 'vendor/bin/phpunit --coverage-clover=clover.xml'
coverage:
file: 'clover.xml'
format: 'clover'
-
command: phpcs-run
use_website_config: true
environment:
node:
version: 6.0.0
tests: true
filter:
excluded_paths:
- 'test/*'
checks:
php: true
coding_style:
php:
indentation:
general:
use_tabs: true
spaces:
around_operators:
concatenation: true
-19
View File
@@ -1,19 +0,0 @@
language: php
matrix:
include:
- php: hhvm-3.18
dist: trusty
- php: 7.4
dist: bionic
- php: 8.0
dist: bionic
install:
- composer install --prefer-dist
script:
- vendor/bin/phpunit --log-junit=phpunit.log
notifications:
email: false