Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
gh-actions:
patterns: ['actions/*']
docker:
patterns: ['docker/*']
codecov:
patterns: ['codecov/*']
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

strategy:
matrix:
php-version: [8.1, 8.2, 8.3]
php-version: [8.3]

steps:
- name: 'Checkout current revision'
Expand Down
6 changes: 2 additions & 4 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ filter:
build:
image: default-jammy
environment:
node: v18
node: v22
nodes:
analysis:
environment:
php:
version: 8.2
pecl_extensions:
- zip
version: 8.3.3
tests:
override:
- php-scrutinizer-run
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![image](https://img.shields.io/packagist/v/bedita/dev-tools.svg?label=stable)](https://packagist.org/packages/bedita/dev-tools)
[![image](https://img.shields.io/github/license/bedita/dev-tools.svg)](https://github.com/bedita/dev-tools/blob/master/LICENSE.LGPL)

Plugin to help with development in [BEdita 4](http://www.bedita.com).
Plugin to help with development in [BEdita](http://www.bedita.com).
This plugin adds some useful tabs to CakePHP Debug Kit toolbar, as well as a user-friendly
HTML rendering of API responses.

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": ">=8.1",
"php": ">=8.3",
"ext-json": "*",
"cakephp/cakephp": "^5.1.0",
"cakephp/debug_kit": "^5.0.0"
Expand All @@ -30,7 +30,7 @@
"cakephp/bake": "^3.0.0",
"cakephp/migrations": "^4.0.0",
"cakephp/cakephp-codesniffer": "^5.0",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.1.0"
},
"autoload": {
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
parameters:
phpVersion: 80300 # PHP 8.3
bootstrapFiles:
- tests/bootstrap.php
paths:
Expand Down
5 changes: 4 additions & 1 deletion src/Command/ChangeLogCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ protected function buildOptionParser(ConsoleOptionParser $parser): ConsoleOption
*/
public function initialize(): void
{
/** @var array<string, mixed> $config */
$config = (array)Configure::read('ChangeLog');
$this->setConfig($config);
}
Expand Down Expand Up @@ -150,7 +151,9 @@ function ($item) use ($major) {
*/
protected function fetchPrs(string $from): array
{
$client = new Client((array)$this->getConfig('client'));
/** @var array<string, mixed> $config */
$config = (array)$this->getConfig('client');
$client = new Client($config);
$query = [
'q' => sprintf('is:pr draft:false repo:bedita/bedita merged:>%s', $from),
'sort' => '-closed',
Expand Down
Loading