Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package php-cs-fixer for openSUSE:Factory 
checked in at 2022-12-07 17:34:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php-cs-fixer (Old)
 and      /work/SRC/openSUSE:Factory/.php-cs-fixer.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php-cs-fixer"

Wed Dec  7 17:34:46 2022 rev:5 rq:1040800 version:3.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/php-cs-fixer/php-cs-fixer.changes        
2020-01-15 16:45:30.769190527 +0100
+++ /work/SRC/openSUSE:Factory/.php-cs-fixer.new.1835/php-cs-fixer.changes      
2022-12-07 17:36:05.564909628 +0100
@@ -1,0 +2,19 @@
+Tue Dec  6 18:53:30 UTC 2022 - Arjen de Korte <suse+bu...@de-korte.org>
+
+- Remove BuildRequires php8-json (builtin for php8)
+
+-------------------------------------------------------------------
+Fri Dec  2 10:41:22 UTC 2022 - pgaj...@suse.com
+
+- version update to 3.13.0
+  * lot of changes, see
+  https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases
+  for changes in individual releases
+- modified sources
+  % LICENSE
+- deleted sources
+  - README.rst (not needed)
+- added sources
+  + README.md
+
+-------------------------------------------------------------------

Old:
----
  README.rst
  php-cs-fixer-2.16.1.phar
  php-cs-fixer-2.16.1.phar.asc

New:
----
  README.md
  php-cs-fixer-3.13.0.phar
  php-cs-fixer-3.13.0.phar.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php-cs-fixer.spec ++++++
--- /var/tmp/diff_new_pack.LS6xM9/_old  2022-12-07 17:36:06.156912870 +0100
+++ /var/tmp/diff_new_pack.LS6xM9/_new  2022-12-07 17:36:06.164912913 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package php-cs-fixer
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
 
 
 %define package_name  PHP-CS-Fixer
-%global doc_version   2.16
+%global doc_version   3.13
 Name:           php-cs-fixer
-Version:        2.16.1
+Version:        3.13.0
 Release:        0
 Summary:        PHP Coding Standards Fixer
 License:        MIT
@@ -28,14 +28,12 @@
 Source:         
https://github.com/FriendsOfPHP/%{package_name}/releases/download/v%{version}/%{name}.phar#/%{name}-%{version}.phar
 Source1:        
https://github.com/FriendsOfPHP/%{package_name}/releases/download/v%{version}/%{name}.phar.asc#/%{name}-%{version}.phar.asc
 Source2:        %{name}.keyring
-Source3:        
https://raw.githubusercontent.com/FriendsOfPHP/PHP-CS-Fixer/v%{version}/README.rst
+Source3:        
https://raw.githubusercontent.com/FriendsOfPHP/PHP-CS-Fixer/v%{version}/README.md
 Source4:        
https://raw.githubusercontent.com/FriendsOfPHP/PHP-CS-Fixer/v%{version}/LICENSE
-BuildRequires:  php7 < 7.5.0
-BuildRequires:  php7 >= 7.0.0
-Requires:       php7-iconv
-Requires:       php7-json
-Requires:       php7-phar
-Requires:       php7-tokenizer
+BuildRequires:  php8
+Requires:       php8-iconv
+Requires:       php8-phar
+Requires:       php8-tokenizer
 BuildArch:      noarch
 
 %description
@@ -45,15 +43,12 @@
 Symfony one. Custom styles can also be defined through
 configuration.
 
-It can modernise code (like converting the pow function to the **
-operator on PHP 5.6) and (micro) optimize it.
-
 %prep
 %setup -q -c -T
 cp -a %{SOURCE0} %{name}
 cp -a %{SOURCE3} %{SOURCE4} .
 # Any alteration breaks the phar.
-# sed -i '1c\#!%{_bindir}/php' php-cs-fixer
+# sed -i '1c\#!%%{_bindir}/php' php-cs-fixer
 
 %build
 # Nothing to build.
@@ -63,7 +58,7 @@
 
 %files
 %license LICENSE
-%doc README.rst
+%doc README.md
 %{_bindir}/%{name}
 
 %changelog

++++++ LICENSE ++++++
--- /var/tmp/diff_new_pack.LS6xM9/_old  2022-12-07 17:36:06.208913154 +0100
+++ /var/tmp/diff_new_pack.LS6xM9/_new  2022-12-07 17:36:06.212913176 +0100
@@ -1,5 +1,4 @@
-Copyright (c) 2012-2019 Fabien Potencier
-                        Dariusz Rumiński
+Copyright (c) 2012-2022 Fabien Potencier, Dariusz Rumiński
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal

++++++ README.md ++++++
<p align="center">
    <a href="https://cs.symfony.com";>
        <img src="./logo.png" title="PHP CS Fixer" alt="PHP CS Fixer logo">
    </a>
</p>

PHP Coding Standards Fixer
==========================

The PHP Coding Standards Fixer (PHP CS Fixer) tool fixes your code to follow 
standards;
whether you want to follow PHP coding standards as defined in the PSR-1, PSR-2, 
etc.,
or other community driven ones like the Symfony one.
You can **also** define your (team's) style through configuration.

It can modernize your code (like converting the ``pow`` function to the ``**`` 
operator on PHP 5.6)
and (micro) optimize it.

If you are already using a linter to identify coding standards problems in your
code, you know that fixing them by hand is tedious, especially on large
projects. This tool does not only detect them, but also fixes them for you.

## Documentation

### Installation

The recommended way to install PHP CS Fixer is to use 
[Composer](https://getcomposer.org/download/)
in a dedicated `composer.json` file in your project, for example in the
`tools/php-cs-fixer` directory:

```console
mkdir --parents tools/php-cs-fixer
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
```

For more details and other installation methods, see
[installation instructions](./doc/installation.rst).

### Usage

Assuming you installed PHP CS Fixer as instructed above, you can run the
following command to fix the files PHP files in the `src` directory:

```console
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src
```

See [usage](./doc/usage.rst), list of [built-in rules](./doc/rules/index.rst), 
list of [rule sets](./doc/ruleSets/index.rst)
and [configuration file](./doc/config.rst) documentation for more details.

If you need to apply code styles that are not supported by the tool, you can
[create custom rules](./doc/custom_rules.rst).

## Editor Integration

Dedicated plugins exist for:

* [Atom](https://github.com/Glavin001/atom-beautify)
* [NetBeans](https://plugins.netbeans.apache.org/catalogue/?id=36)
* [PhpStorm](https://www.jetbrains.com/help/phpstorm/using-php-cs-fixer.html)
* [Sublime Text](https://github.com/benmatselby/sublime-phpcs)
* [Vim](https://github.com/stephpy/vim-php-cs-fixer)
* [VS Code](https://github.com/junstyle/vscode-php-cs-fixer)

## Community

The PHP CS Fixer is maintained on GitHub at 
https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.
Bug reports and ideas about new features are welcome there.

You can reach us at https://gitter.im/PHP-CS-Fixer/Lobby about the project,
configuration, possible improvements, ideas and questions, please visit us!

## Contribute

The tool comes with quite a few built-in fixers, but everyone is more than
welcome to [contribute](CONTRIBUTING.md) more of them.

Reply via email to