- 
                Notifications
    You must be signed in to change notification settings 
- Fork 130
Fix PHP 8.2 and Other Related Issues #640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            mralaminahamed
  wants to merge
  43
  commits into
  Mangopay:master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
mralaminahamed:fix/php-related-issues
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
  
     Open
                    Changes from 9 commits
      Commits
    
    
            Show all changes
          
          
            43 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      76dc113
              
                fix: Fatal error: Uncaught Error: Class "PhpCsFixer\Finder" not found
              
              
                mralaminahamed 591629c
              
                added: required and optional properties
              
              
                mralaminahamed b81fb0b
              
                chore(composer): Updated to the latest version and config file also
              
              
                mralaminahamed fad9d56
              
                added: docker file for 8.1 and 8.2
              
              
                mralaminahamed f4e69f4
              
                fix: PHP Coding standards issues
              
              
                mralaminahamed c6138da
              
                removed: unused code
              
              
                mralaminahamed d580082
              
                add: missing property in Refund class
              
              
                mralaminahamed 959b1a7
              
                added: missing property in PayIn
              
              
                mralaminahamed 475e87f
              
                added: missing property in PayIn
              
              
                mralaminahamed dd38b0f
              
                Merge branch 'Mangopay:master' into fix/php-related-issues
              
              
                mralaminahamed 6da6e4f
              
                Revert "fix: PHP Coding standards issues"
              
              
                mralaminahamed 6c17547
              
                Update MangoPay/PayOut.php
              
              
                mralaminahamed a096ea6
              
                update: gitignore and attributes
              
              
                mralaminahamed ba9a468
              
                Merge branch 'fix/php-related-issues' of https://github.com/mralamina…
              
              
                mralaminahamed 96d67ae
              
                added: label properties for KYC Document
              
              
                mralaminahamed c1f8164
              
                update: property doc for KYC $UserId
              
              
                mralaminahamed ce7d988
              
                update: api base, api ubo and its declaration for parameter type
              
              
                mralaminahamed 87bfb35
              
                update: php cs fixer config
              
              
                mralaminahamed c31570d
              
                update: missing property for Ubo Declaration
              
              
                mralaminahamed a12582a
              
                Use local namespace for PayOutPaymentDetailsBankWire
              
              
                mralaminahamed aa87640
              
                Use local namespace for PayOutPaymentDetailsBankWire
              
              
                mralaminahamed 156a26d
              
                Update Property documentation
              
              
                mralaminahamed 089bff7
              
                Delete old install script
              
              
                mralaminahamed 964ee7e
              
                delete: php cs fixer cache file
              
              
                mralaminahamed 596cca5
              
                update: property documentation for KYC Documentation
              
              
                mralaminahamed cfe79c5
              
                update: Kyc Document class
              
              
                mralaminahamed d77e72b
              
                remove: shell path from docker composer
              
              
                mralaminahamed 85d3080
              
                fix: php cs fixer issue at KYC Document property alignment
              
              
                mralaminahamed 27520ac
              
                Merge remote-tracking branch 'upstream/master' into fix/php-related-i…
              
              
                mralaminahamed d3f2448
              
                Merge remote-tracking branch 'upstream/master' into fix/php-related-i…
              
              
                mralaminahamed 6dc14ea
              
                rollback: `see` params for `$Type` in the `KycDocument`
              
              
                mralaminahamed 0149fb7
              
                refactor: indentation is wrong in `PayOut.php`
              
              
                mralaminahamed f205667
              
                refactor: indentation is wrong in `PayOut.php`
              
              
                mralaminahamed 275dfda
              
                refactor: Change the `@var` type to `object` because of there is many…
              
              
                mralaminahamed 87f0929
              
                remove: `composer.sh` for php `8.1` and `8.2`
              
              
                mralaminahamed ed80f9f
              
                fix: line indents for `PayOut.php`
              
              
                mralaminahamed 6b9f10f
              
                update: added docker config for `php 8.1` and `php 8.2` to `Makefile`
              
              
                mralaminahamed f5303e0
              
                update: added php versions for `php 8.1` and `php 8.2` to `build.yaml`
              
              
                mralaminahamed 3f3e135
              
                refactor: property type for `PayOut.php`
              
              
                mralaminahamed 91ca58a
              
                refactor: property type for `PayOut.php` (phpstan)
              
              
                mralaminahamed 586b770
              
                refactor: property type for `PayOut.php` (phpstan)
              
              
                mralaminahamed 0268830
              
                Merge branch 'master' into fix/php-related-issues
              
              
                mralaminahamed beac573
              
                Merge branch 'master' into fix/php-related-issues
              
              
                mralaminahamed File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -11,6 +11,6 @@ composer.lock | |
|  | ||
| .* | ||
| !.github | ||
| !.php_cs | ||
| !.php-cs-fixer.* | ||
| !.gitignore | ||
| !.gitattributes | ||
|         
                  mralaminahamed marked this conversation as resolved.
              Outdated
          
            Show resolved
            Hide resolved | 
Large diffs are not rendered by default.
      
      Oops, something went wrong.
      
    
  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?php | ||
|  | ||
| $finder = (new PhpCsFixer\Finder()) | ||
| ->in(__DIR__.'/MangoPay') | ||
| ->in(__DIR__.'/tests') | ||
| ; | ||
|  | ||
| return (new PhpCsFixer\Config()) | ||
| ->setRules([ | ||
| '@PSR12' => true, | ||
| 'fully_qualified_strict_types' => true, | ||
| 'array_syntax' => ['syntax' => 'short'], | ||
| 'visibility_required' => [ | ||
| 'elements' => ['property', 'method'], // 'const' is removed for old PHP compat | ||
| ], | ||
| ]) | ||
| ->setFinder($finder) | ||
| ; | 
This file was deleted.
      
      Oops, something went wrong.
      
    
  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.