Skip to content

Commit

Permalink
Merge pull request #168 from visto9259/4.1.x
Browse files Browse the repository at this point in the history
Applied Laminas Coding Standard v3. Moved to Laminas CI workflow
  • Loading branch information
visto9259 authored Jan 2, 2025
2 parents 2552988 + 0940277 commit a0b7ff3
Show file tree
Hide file tree
Showing 105 changed files with 2,377 additions and 1,428 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/build_test.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Continuous Integration"

on:
pull_request:
paths-ignore:
- 'docs/**'
push:
paths-ignore:
- 'docs/**'
branches:
tags:

jobs:
ci:
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected]
1 change: 1 addition & 0 deletions .laminas-ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 0 additions & 3 deletions CHANGELOG.md

This file was deleted.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@ Role-based access control module to provide additional features on top of Zend\P
- PHP 8.1 or higher
- [Laminas Components 3.x or higher](http://www.github.com/laminas)


## Optional

- [DoctrineModule](https://github.com/doctrine/DoctrineModule): if you want to use some built-in role and permission providers.
- [Laminas\DeveloperTools](https://github.com/laminas/Laminas\DeveloperTools): if you want to have useful stats added to
the Laminas Developer toolbar.
- [Laminas\DeveloperTools](https://github.com/laminas/Laminas\DeveloperTools): if you want to have useful stats added to the Laminas Developer toolbar.

## Upgrade

LmcRbacMvc introduces breaking changes from zfcrbac v2:
- The namespace has been changed from `ZfcRbac` to `LmcRbacMvc`.
- The key `zfc_rbac` in autoload and module config files has been replaced
by the `lmc_rbac` key.

- The namespace has been changed from `ZfcRbac` to `LmcRbacMvc`.
- The key `zfc_rbac` in autoload and module config files has been replaced by the `lmc_rbac` key.

You can find an [upgrade guide](UPGRADE.md) to quickly upgrade your application from major versions of ZfcRbac.

Expand All @@ -41,6 +39,7 @@ Install the module:
```sh
$ php composer.phar require lm-commons/lmc-rbac-mvc
```

Enable the module by adding `LmcRbacMvc` key to your `application.config.php` or `modules.config.php` file. Customize the module by copy-pasting
the `lmc_rbac.global.php.dist` file to your `config/autoload` folder.

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"require-dev": {
"laminas/laminas-authentication": "^2.2",
"laminas/laminas-coding-standard": "^2.5.0",
"laminas/laminas-coding-standard": "^3.0",
"phpunit/phpunit": "10.5.38",
"phpspec/prophecy-phpunit": "^2.0",
"psalm/plugin-phpunit": "^0.19.0",
Expand Down
Loading

0 comments on commit a0b7ff3

Please sign in to comment.