Skip to content

Commit 3da2404

Browse files
run phpstan in github ci
1 parent 8cb2ef1 commit 3da2404

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/php-highest.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build, Test and Lint
2+
3+
on: [ push, pull_request ]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v6
10+
11+
- name: Setup PHP
12+
id: setup-php
13+
uses: shivammathur/setup-php@v2
14+
with:
15+
php-version: 'highest'
16+
17+
- run: find . -name '*.php' -print0 | xargs -0 -n1 php --define error_reporting=-1 -l
18+
- run: composer install --no-progress
19+
- run: vendor/bin/phpstan

ibericode-mods.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
require __DIR__ . '/includes/protect-wp-login.php';
2020
require __DIR__ . '/includes/smtp-mailer.php';
2121
require __DIR__ . '/includes/stop-comment-spam.php';
22+
require __DIR__ . '/includes/disable-plugin-and-theme-updates.php';

0 commit comments

Comments
 (0)