Git Product home page Git Product logo

bav's Introduction

Hi, there! 👋 I'm Jan

I'm a freelance Software Developer and Trainer based in Wuppertal.

  • 🔎 I'm open to freelance projects and available from June 2024.
  • 👨‍💻 I'm passionate about PHP, Symfony, RESTful APIs and everything related. Feel free to reach out if you want to talk.
  • ✅ I'm a certified Symfony Developer.
  • 🔨 I try to contribute to Symfony as often as I can.
  • 👯 I've been the organizer of the Symfony User Group Hamburg and the Symfony User Group Aveiro.
  • 🧑‍🏫 And from time to time I share my knowledge via talks and workshops.
  • 💬 You can ask me about PHP, Symfony and RESTful web services

Want to know more about me? ➡️ https://www.janschaedlich.de

bav's People

Contributors

bitdeli-chef avatar jschaedl avatar malkusch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

siedi dischinator

bav's Issues

getBIC schlägt fehl, wenn es eine Nachfolge-BLZ gibt

Ich möchte die BIC für etliche Bankleitzahlen ermitteln. Dies schlägt bei folgender BLZ fehl: 63020450

Lt. blz_2014_03_03_txt.txt gibt es für 63020450 eine Nachfolge-BLZ 63020086.

Sollte hier getBic die korrekte BIC ermitteln können? (so dass die BIC von dieser Nachfolge-BLZ herangezogen wird)

Aktuell tut es dies leider nicht.

use Bav\Bav;

$bav = Bav::DE();
$bank = $bav->getBank("63020450");
$bic = $bank->getMainAgency()->getBic();

Obiges führt aktuell zu folgender Fehlermeldung:

Fatal error: Uncaught exception 'Bav\Bank\Exception\UndefinedAttributeException' in
/kunden/108014_96450/rp-hosting/10343/12345/domain/helper/iban/vendor/jschaedl/bav/library/Bav/Bank/Agency.php:100 
Stack trace: #0 /kunden/108014_96450/rp-hosting/10343/12345/domain/test.php(13):
Bav\Bank\Agency->getBic() #1 {main} thrown in 
/kunden/108014_96450/rp-hosting/10343/12345/domain/helper/iban/vendor/jschaedl/bav/library/Bav/Bank/Agency.php 
on line 100

LogicException when quering for Bank

I did the following:

$bav = Bav::DE();
$bank = $bav->getBank('38651390');

This triggers the following Exception:

Fatal error: Uncaught exception 'LogicException' with message 'Start and end should be defined for bankId=37050299 (exception=The contextCache object should exist!)' in vendor/jschaedl/bav/library/Bav/Backend/Parser/BankDataParser.php:95
Stack trace:
#0 vendor/jschaedl/bav/library/Bav/Backend/BankDataResolver.php(37): Bav\Backend\Parser\BankDataParser->resolveAgencies('37050299')
#1 vendor/jschaedl/bav/library/Bav/Backend/BankDataResolver.php(20): Bav\Backend\BankDataResolver->resolveBankData('38651390')
#2 vendor/jschaedl/bav/library/Bav/Bav.php(38): Bav\Backend\BankDataResolver->getBank('38651390')
#3 test.php(6): Bav\Bav->getBank('38651390')
...

Another bank code triggering this behavior is for example 38650000. I had a quick look at the BankDataParser and the data file, but I am not sure what triggers the behavior above.

Upgrading from old malkusch/bav?

Hi,
i'm using the old bav-0.26 from malkusch.
Is there any chance for a short "how to upgrade" to this more recent version?
Or maybe is there already something like that?

Thanks
kscholz

Semantic Versioning

Hi,

can you please use semantic versioning according to the rules of http://semver.org for future releases? (for example "1.0.0" instead of "v1.0")

That enables users to use this library a lot easier. Releases with minor and patch level changes can be used without excessive manual testing by just requiring ~1.0 in the composer.json, because they should be backward compatible.

Thanks
Gordon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.